public class Main {
    public static void main(String[] args) {
        TicketSystem ticketSystem = new TicketSystem();

        double originalPrice = 100.0;

        ticketSystem.setDiscountStrategy(new StudentDiscountStrategy());
        double studentDiscountedPrice = ticketSystem.calculateDiscountedPrice(originalPrice);
        System.out.println("原价: " + originalPrice + ", 学生票折扣价为: " + studentDiscountedPrice);

        originalPrice = 80.0;
        ticketSystem.setDiscountStrategy(new ChildDiscountStrategy());
        double childDiscountedPrice = ticketSystem.calculateDiscountedPrice(originalPrice);
        System.out.println("原价: " + originalPrice + ", 儿童票折扣价为: " + childDiscountedPrice);

        originalPrice = 200.0;
        ticketSystem.setDiscountStrategy(new VipDiscountStrategy());
        double vipDiscountedPrice = ticketSystem.calculateDiscountedPrice(originalPrice);
        System.out.println("原价: " + originalPrice + ", VIP票折扣价为: " + vipDiscountedPrice);
    }
}